package io.sdl.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.sdl.entity.SdlLikesEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 点赞表
 * 
 * @author Dchen
 * @email 1211734836@qq.com
 * @date 2025-04-25 14:09:19
 */
@Mapper
public interface SdlLikesDao extends BaseMapper<SdlLikesEntity> {


    SdlLikesEntity selectByUserId(@Param("userId") Long userId, @Param("diaryId") Long diaryId);
}
